<!DOCTYPE html>
<html lang="en">

<!-- Head tag -->
<head><meta name="generator" content="Hexo 3.9.0">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content>
    <meta name="keyword" content>
    <link rel="shortcut icon" href="/img/ironman-draw.png">
    <!-- Place this tag in your head or just before your close body tag. -->
    <script async defer src="https://buttons.github.io/buttons.js"></script>
    <title>
        
          xyzko1 | 博客
        
    </title>

    <link rel="canonical" href="https://xyzko1.github.io/">

    <!-- Bootstrap Core CSS -->
    <link rel="stylesheet" href="/css/bootstrap.min.css">

    <!-- Custom CSS --> 
    <link rel="stylesheet" href="/css/beantech.min.css">
    
    <!-- Pygments Highlight CSS -->
    <link rel="stylesheet" href="/css/highlight.css">

    <link rel="stylesheet" href="/css/widget.css">

    <link rel="stylesheet" href="/css/rocket.css">

    <link rel="stylesheet" href="/css/signature.css">

    <link rel="stylesheet" href="/css/toc.css">

    <!-- Custom Fonts -->
    <!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
    <!-- Hux change font-awesome CDN to qiniu -->
    <link href="https://cdn.staticfile.org/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">


    <!-- Hux Delete, sad but pending in China
    <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/
    css'>
    -->


    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- ga & ba script hoook -->
    <script></script>
</head>


<!-- hack iOS CSS :active style -->
<body ontouchstart="">
	<!-- Modified by Yu-Hsuan Yen -->
<!-- Post Header -->
<style type="text/css">
    header.intro-header{
        
            background-image: url('/img/header_img/home-bg-2-dark.png') 
            /*config*/
        
    }
    
    #signature{
        background-image: url('/img/signature/BeanTechSign-white.png');
    }
    
</style>

<header class="intro-header" >
    <!-- Signature -->
    <div id="signature">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                
                    <div class="site-heading">
                        <h1>xyz的博客</h1>
                        <!--<hr class="small">-->
                        <span class="subheading">Many a little make a mickle</span>
                    </div>
                


                </div>
            </div>
        </div>
    </div>
</header>

	
    <!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header page-scroll">
            <button type="button" class="navbar-toggle">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">xyz的博客</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <!-- Known Issue, found by Hux:
            <nav>'s height woule be hold on by its content.
            so, when navbar scale out, the <nav> will cover tags.
            also mask any touch event of tags, unfortunately.
        -->
        <div id="huxblog_navbar">
            <div class="navbar-collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a href="/">Home</a>
                    </li>

                    

                        
                    

                        
                        <li>
                            <a href="/about/">About</a>
                        </li>
                        
                    

                        
                        <li>
                            <a href="/tags/">Tags</a>
                        </li>
                        
                    

                        
                        <li>
                            <a href="/archive/">Archives</a>
                        </li>
                        
                    
                    
                </ul>
            </div>
        </div>
        <!-- /.navbar-collapse -->
    </div>
    <!-- /.container -->
</nav>
<script>
    // Drop Bootstarp low-performance Navbar
    // Use customize navbar with high-quality material design animation
    // in high-perf jank-free CSS3 implementation
    var $body   = document.body;
    var $toggle = document.querySelector('.navbar-toggle');
    var $navbar = document.querySelector('#huxblog_navbar');
    var $collapse = document.querySelector('.navbar-collapse');

    $toggle.addEventListener('click', handleMagic)
    function handleMagic(e){
        if ($navbar.className.indexOf('in') > 0) {
        // CLOSE
            $navbar.className = " ";
            // wait until animation end.
            setTimeout(function(){
                // prevent frequently toggle
                if($navbar.className.indexOf('in') < 0) {
                    $collapse.style.height = "0px"
                }
            },400)
        }else{
        // OPEN
            $collapse.style.height = "auto"
            $navbar.className += " in";
        }
    }
</script>


    <!-- Main Content -->
    <!-- Main Content -->
<div class="container">
    <div class="row">
        

<!-- USE SIDEBAR -->
    <!-- Post Container -->
            <div class="
                col-lg-8 col-lg-offset-1
                col-md-8 col-md-offset-1
                col-sm-12
                col-xs-12
                post-container
            ">
            
                <!-- Main Content -->


<div class="post-preview">

    <a href="/2019/09/01/Task 异步编程测试案例及基础应用说明/">
        <h2 class="post-title">
            Task 异步编程测试案例及基础应用说明
        </h2>
        <h3 class="post-subtitle">
            
        </h3>
        <div class="post-content-preview">
            
created by xyzko1
2019年09月01日 19:00:00

对于多线程，我们经常使用的是Thread。在我们了解Task之前，如果我们要使用多核的功能可能就会自己来开线程，然而这种线程模型在.net 4.0之后被一种称为基于“任务的编程模型”所冲击，因为task会比thread具有更小的性能开销，不过大家肯定会有疑惑，任务和线程到底有什么区别呢？
任务和线程的区别：
1......
        </div>
    </a>
    
        <p class="post-meta" style="margin: 10px 0;">
            Posted by xyzko1 on
            2019-09-01
        </p>
        <div class="tags">
            
              <a href="/tags/#Hexo" title="Hexo">Hexo</a>
            
              <a href="/tags/#Blog" title="Blog">Blog</a>
            
        </div>
    

</div>
<hr>

<div class="post-preview">

    <a href="/2019/08/13/常见的Web实时消息交互方式和SignalR/">
        <h2 class="post-title">
            常见的Web实时消息交互方式和SignalR
        </h2>
        <h3 class="post-subtitle">
            
        </h3>
        <div class="post-content-preview">
            
created by xyzko1
2019年08月13日 19:00:00

前言

最近因为项目中涉及到了实时数据的传输，特地去了解了一下当前Web应用中常见的实时交互手段，当然一开始也不仅限于Web客户端。从c#自带的Socket类，到Html5中的WebSocket，再到Asp .Net利器SignalR，总算将这块知识点及应用入门了，当然今天的主要内容还是Web端的消息交互技术(......
        </div>
    </a>
    
        <p class="post-meta" style="margin: 10px 0;">
            Posted by xyzko1 on
            2019-08-13
        </p>
        <div class="tags">
            
              <a href="/tags/#Hexo" title="Hexo">Hexo</a>
            
              <a href="/tags/#Blog" title="Blog">Blog</a>
            
        </div>
    

</div>
<hr>

<div class="post-preview">

    <a href="/2019/07/21/Linq入门详解/">
        <h2 class="post-title">
            Linq入门详解
        </h2>
        <h3 class="post-subtitle">
            
        </h3>
        <div class="post-content-preview">
            
created by xyzko1
2019年07月21日 19:00:00

本博文详细介绍 .NET 3.5 中引入的重要功能：Language Integrated Query（LINQ，语言集成查询）。通过LINQ，我们可以使用相同API操作不同的数据源。接下来就让我们看看LINQ是什么以及如何使用？
相关技术
隐式类型、匿名类型、对象初始化器
隐式类型
使用var关键字创建，C#......
        </div>
    </a>
    
        <p class="post-meta" style="margin: 10px 0;">
            Posted by xyzko1 on
            2019-07-21
        </p>
        <div class="tags">
            
              <a href="/tags/#Hexo" title="Hexo">Hexo</a>
            
              <a href="/tags/#Blog" title="Blog">Blog</a>
            
        </div>
    

</div>
<hr>

<div class="post-preview">

    <a href="/2019/06/23/Quartz.NET实现作业调度/">
        <h2 class="post-title">
            Quartz.NET实现作业调度
        </h2>
        <h3 class="post-subtitle">
            
        </h3>
        <div class="post-content-preview">
            
created by xyzko1
2019年06月23日 19:00:00

Quartz.NET介绍

Quartz.NET是一个强大、开源、轻量的作业调度框架，是 OpenSymphony 的 Quartz API 的.NET移植，用C#改写，可用于winform和asp.net应用中。它灵活而不复杂。你能够用它来为执行一个作业而创建简单的或复杂的作业调度。它有很多特征，如：数据库支......
        </div>
    </a>
    
        <p class="post-meta" style="margin: 10px 0;">
            Posted by xyzko1 on
            2019-06-23
        </p>
        <div class="tags">
            
              <a href="/tags/#Hexo" title="Hexo">Hexo</a>
            
              <a href="/tags/#Blog" title="Blog">Blog</a>
            
        </div>
    

</div>
<hr>

<div class="post-preview">

    <a href="/2019/05/01/RabbitMq.net使用/">
        <h2 class="post-title">
            RabbitMq.net使用
        </h2>
        <h3 class="post-subtitle">
            
        </h3>
        <div class="post-content-preview">
            
created by xyzko1
2019年05月01日 19:51:24

本文转载来自 【http://www.cnblogs.com/yangecnu/p/Introduce-RabbitMQ.html】写的很详细。
文件安装包官方DEMO下载地址是：http://pan.baidu.com/s/1c1vgdiC
在企业应用系统领域，会面对不同系统之间的通信、集成与整合，尤其当面临......
        </div>
    </a>
    
        <p class="post-meta" style="margin: 10px 0;">
            Posted by xyzko1 on
            2019-05-01
        </p>
        <div class="tags">
            
              <a href="/tags/#Hexo" title="Hexo">Hexo</a>
            
              <a href="/tags/#Blog" title="Blog">Blog</a>
            
        </div>
    

</div>
<hr>

<div class="post-preview">

    <a href="/2019/04/14/分布式、集群、负载均衡、弹性、云计算、失效迁移/">
        <h2 class="post-title">
            分布式、集群、负载均衡、弹性、云计算、失效迁移
        </h2>
        <h3 class="post-subtitle">
            
        </h3>
        <div class="post-content-preview">
            
created by xyzko1
2019年04月14日 15:48:07

正文

1、一个系统不同的业务通过位于不同位置的服务器解决，跨域网络并且相互调用，这一个系统称为分布式系统。


2、服务器1相当于整个系统的“门面”，如果服务器1挂掉了，发生了单点故障，此时整个系统将无法访问，解决办法是对于服务器1创建集群（解决单点故障），集群上每一台机器都是系统A的实例，对外提供同样的服务......
        </div>
    </a>
    
        <p class="post-meta" style="margin: 10px 0;">
            Posted by xyzko1 on
            2019-04-14
        </p>
        <div class="tags">
            
              <a href="/tags/#Hexo" title="Hexo">Hexo</a>
            
              <a href="/tags/#Blog" title="Blog">Blog</a>
            
        </div>
    

</div>
<hr>

<div class="post-preview">

    <a href="/2018/02/01/ASP.NET MVC+EF 项目架构搭建/">
        <h2 class="post-title">
            ASP.NET MVC+EF 项目架构搭建
        </h2>
        <h3 class="post-subtitle">
            
        </h3>
        <div class="post-content-preview">
            
created by xyzko1
2018年02月01日 14:00:10

正文

新建MVC项目UI


然后分别建立类库，Model,IDAL,DALFactory,DAL,IBLL,BLL,Common


Model里面添加EF实体 User生成数据库

Model里面添加EF实体 User生成数据库


IDAL层
IBasedal.cs
123456789101112131......
        </div>
    </a>
    
        <p class="post-meta" style="margin: 10px 0;">
            Posted by xyzko1 on
            2018-02-01
        </p>
        <div class="tags">
            
              <a href="/tags/#Hexo" title="Hexo">Hexo</a>
            
              <a href="/tags/#Blog" title="Blog">Blog</a>
            
        </div>
    

</div>
<hr>



<!-- Pager -->

<ul class="pager">
    
    
</ul>



                <!-- 如果开启评论功能 -->
                
            </div>

          <!-- Sidebar Container -->
<div class="
    col-lg-3 col-lg-offset-0
    col-md-3 col-md-offset-0
    col-sm-12
    col-xs-12
    sidebar-container
">
    
        <!-- Featured Tags -->

<section>
    <!-- no hr -->
    <h5><a href="/tags/">FEATURED TAGS</a></h5>
    <div class="tags">
        
            
            <a href="/tags/#Hexo" title="Hexo" rel="7">Hexo</a>
            
        
            
            <a href="/tags/#Blog" title="Blog" rel="7">Blog</a>
            
        
    </div>
</section>

        <hr>
    
        <!-- Short About -->
<section class="visible-md visible-lg">
    <h5><a href="/about/">ABOUT ME</a></h5>
    <div class="short-about">

        
            <img id = "avatar_pic" src="/img/ironman-draw.png" />
        

        
            <p>Hi, i&#39;m xyzko1</p>
        

        <!-- SNS Link -->
        <ul class="list-inline">
            
            
            

            

            
                <li>
                    <a target="_blank" href="https://www.facebook.com/xyzko1">
                        <span class="fa-stack fa-lg">
                            <i class="fa fa-circle fa-stack-2x"></i>
                            <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
                        </span>
                    </a>
                </li>
            

            
                <li>
                    <a target="_blank"  href="https://github.com/xyzko1">
                        <span class="fa-stack fa-lg">
                            <i class="fa fa-circle fa-stack-2x"></i>
                            <i class="fa fa-github fa-stack-1x fa-inverse"></i>
                        </span>
                    </a>
                </li>
            
            
            
            
                <li>
                    <a target="_blank"  href="https://www.linkedin.com/in/xyzko1">
                        <span class="fa-stack fa-lg">
                            <i class="fa fa-circle fa-stack-2x"></i>
                            <i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
                        </span>
                    </a>
                </li>
            
        </ul>
    </div>
</section>
        <hr>
    
        
  <h5>RECENT POSTS</h3>
  <div class="widget">
    <ul>
      
        <li>
          <a href="/2019/09/01/Task 异步编程测试案例及基础应用说明/">Task 异步编程测试案例及基础应用说明</a>
        </li>
      
        <li>
          <a href="/2019/08/13/常见的Web实时消息交互方式和SignalR/">常见的Web实时消息交互方式和SignalR</a>
        </li>
      
        <li>
          <a href="/2019/07/21/Linq入门详解/">Linq入门详解</a>
        </li>
      
        <li>
          <a href="/2019/06/23/Quartz.NET实现作业调度/">Quartz.NET实现作业调度</a>
        </li>
      
        <li>
          <a href="/2019/05/01/RabbitMq.net使用/">RabbitMq.net使用</a>
        </li>
      
    </ul>
  </div>

        <hr>
    
        <!-- Friends Blog -->

<h5>FRIENDS</h5>
<ul class="list-inline">

    
        <li><a href="http://beantech.org" target="_blank">Bean Tech</a></li>
    
        <li><a href="http://blog.kaijun.rocks" target="_blank">Kaijun&#39;s Blog</a></li>
    
        <li><a href="http://huangxuan.me" target="_blank">Hux Blog</a></li>
    
        <li><a href="#" target="_blank">It Helps SEO</a></li>
    
</ul>

        <hr>
    
</div>

        
    </div>
</div>


    <!-- Footer -->
    <!-- Footer -->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                <ul class="list-inline text-center">
                
                
                

                

                
                    <li>
                        <a target="_blank" href="https://www.facebook.com/xyzko1">
                            <span class="fa-stack fa-lg">
                                <i class="fa fa-circle fa-stack-2x"></i>
                                <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
                            </span>
                        </a>
                    </li>
                

                
                    <li>
                        <a target="_blank"  href="https://github.com/xyzko1">
                            <span class="fa-stack fa-lg">
                                <i class="fa fa-circle fa-stack-2x"></i>
                                <i class="fa fa-github fa-stack-1x fa-inverse"></i>
                            </span>
                        </a>
                    </li>
                

                
                    <li>
                        <a target="_blank"  href="https://www.linkedin.com/in/xyzko1">
                            <span class="fa-stack fa-lg">
                                <i class="fa fa-circle fa-stack-2x"></i>
                                <i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
                            </span>
                        </a>
                    </li>
                

                </ul>
                <p class="copyright text-muted">
                    Copyright &copy; xyzko1 2021 
                    <br>
                    Theme by <a href="http://huangxuan.me">Hux</a> 
                    <span style="display: inline-block; margin: 0 5px;">
                        <i class="fa fa-heart"></i>
                    </span> 
                    re-Ported by <a href="http://beantech.org">BeanTech</a> | 
                    <iframe
                        style="margin-left: 2px; margin-bottom:-5px;"
                        frameborder="0" scrolling="0" width="91px" height="20px"
                        src="https://ghbtns.com/github-btn.html?user=YenYuHsuan&repo=hexo-theme-beantech&type=star&count=true" >
                    </iframe>
                </p>
            </div>
        </div>
    </div>
</footer>

<!-- jQuery -->
<script src="/js/jquery.min.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="/js/bootstrap.min.js"></script>

<!-- Custom Theme JavaScript -->
<script src="/js/hux-blog.min.js"></script>


<!-- async load function -->
<script>
    function async(u, c) {
      var d = document, t = 'script',
          o = d.createElement(t),
          s = d.getElementsByTagName(t)[0];
      o.src = u;
      if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
      s.parentNode.insertBefore(o, s);
    }
</script>

<!-- 
     Because of the native support for backtick-style fenced code blocks 
     right within the Markdown is landed in Github Pages, 
     From V1.6, There is no need for Highlight.js, 
     so Huxblog drops it officially.

     - https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0  
     - https://help.github.com/articles/creating-and-highlighting-code-blocks/    
-->
<!--
    <script>
        async("http://cdn.bootcss.com/highlight.js/8.6/highlight.min.js", function(){
            hljs.initHighlightingOnLoad();
        })
    </script>
    <link href="http://cdn.bootcss.com/highlight.js/8.6/styles/github.min.css" rel="stylesheet">
-->


<!-- jquery.tagcloud.js -->
<script>
    // only load tagcloud.js in tag.html
    if($('#tag_cloud').length !== 0){
        async("https://xyzko1.github.io/js/jquery.tagcloud.js",function(){
            $.fn.tagcloud.defaults = {
                //size: {start: 1, end: 1, unit: 'em'},
                color: {start: '#bbbbee', end: '#0085a1'},
            };
            $('#tag_cloud a').tagcloud();
        })
    }
</script>

<!--fastClick.js -->
<script>
    async("https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js", function(){
        var $nav = document.querySelector("nav");
        if($nav) FastClick.attach($nav);
    })
</script>


<!-- Google Analytics -->


<script>
    // dynamic User by Hux
    var _gaId = 'UA-XXXXXXXX-X';
    var _gaDomain = 'yoursite';

    // Originial
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', _gaId, _gaDomain);
    ga('send', 'pageview');
</script>




<!-- Baidu Tongji -->






	<a id="rocket" href="#top" class=""></a>
	<script type="text/javascript" src="/js/totop.js?v=1.0.0" async=""></script>
    <script type="text/javascript" src="/js/toc.js?v=1.0.0" async=""></script>
<!-- Image to hack wechat -->
<img src="https://xyzko1.github.io/img/icon_wechat.png" width="0" height="0" />
<!-- Migrate from head to bottom, no longer block render and still work -->

</body>

</html>
